<?php
require_once $_SERVER['DOCUMENT_ROOT'].'/common.php';

if ($_POST['login'] && $_POST['passwd'])
{
	echo json_encode(array('result'=>user::login($_POST['login'], $_POST['passwd'])));
}
